package com.jin.webvideo.config.filter.access.rule;

import com.jin.webvideo.config.filter.access.GlobalStore;
import com.jin.webvideo.entity.SessionStore;

import javax.servlet.http.HttpServletRequest;

public interface ForbidHandler {
    ForbidHandler NONE = new ForbidHandler() {
        @Override
        public String name() {
            return "NONE";
        }

        @Override
        public void handle(GlobalStore globalStore, SessionStore store, HttpServletRequest request) {

        }
    };
    String name();
    void handle(GlobalStore globalStore, SessionStore store, HttpServletRequest request);
}
